package com.shitou.service;

import org.springframework.stereotype.Service;

import com.octo.captcha.engine.image.gimpy.GmailEngine;
import com.octo.captcha.service.captchastore.FastHashMapCaptchaStore;
import com.octo.captcha.service.image.DefaultManageableImageCaptchaService;
import com.octo.captcha.service.image.ImageCaptchaService;

@Service
public class CaptchaService{

	private static ImageCaptchaService instance = new DefaultManageableImageCaptchaService(
			new FastHashMapCaptchaStore(), new GmailEngine(), 180,
			100000 , 75000);
	public static ImageCaptchaService getInstance(){
		return instance;
	}
	
}
